nested lists hackerrank solution

visit shbcf.ru